﻿@if (Page)
{
    <div class="@($"progressing-card {Class}")">
        <MDCard Class="out-card w-100" Outline="!Fill||Outline">
            <MDCard Outline="Fill||Outline" Class="inner-card">
            <img src="https://tucang.cngal.top/api/image/show/47560a67088d68778f872c64ba8ad338?https://image.cngal.org/images/upload/20231108/b10db068dafcc6df54bb6a665a7070d7c7331196.png" style="width: 70%;">
            <div class="d-flex" style="justify-content: center;">
                <MProgressCircular Size="40" Indeterminate Color="@Color"></MProgressCircular>
             </div>
             <div class="mt-3 text-center">正在加载......</div>
         </MDCard>
         </MDCard>

    </div>

}
else
{
    <div class="@Class" style="@Style">
        <div class="d-flex" style="justify-content: center;">
            <MProgressCircular Size="40" Indeterminate Color="@Color"></MProgressCircular>
         </div>
         <div class="mt-3 text-center">正在加载......</div>

     </div>
}



@code {
    [Parameter]
    public string Class { get; set; }
    [Parameter]
    public bool Outline { get; set; }
    [Parameter]
    public string Style { get; set; }
    [Parameter]
    public string Color { get; set; } = "primary";
    [Parameter]
    public bool Page { get; set; }
    [Parameter]
    public bool Fill { get; set; }
}
